package xhwl.hmo.mall;

import android.os.Environment;

/**
 * Created by admin on 2016/12/27.
 */

public class Constant {
    //验证码
    public static final String AUTHCODE_SMS = "0";
    public static final String AUTHCODE_VOICE = "1";
    //验证码时间
    public static final int AUTH_TIME_ALL=60*1000;
    public static final int AUTH_TIME_INTERAL=1000;
    public static final String Clientid="25";
    //
    public static final int PWD_MIN_LENGTH=6;
    public static final int AUTHCODE_LENGTH=4;




    //文件保存地址
    public static final String FORDER_BASE= Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED) ? Environment.getExternalStorageDirectory().getAbsolutePath() : "/mnt/sdcard";//保存到SD卡
    public static final String FORDER_NAME = FORDER_BASE + "/hmomall/";
    public static final String PHONE_TYPE = "1";//phone_type：0-ios 1-android
    // 微信支付
    public static final boolean WEIXIN_PAY_ENABLE = false;
    public static final String APP_ID = "wxd3d3ba4a1d7a3965";
    public static final String MCH_ID = "1356899702";
    public static final String API_KEY = "hry4968gfirlAWERGB34567Ldfrty564";
    public static final String APP_SECRET = "d5ac110da0a96b535f21cb694443b0ab";
    public static final String YW_ID="2";
    //升级赋值规则：医生：yw_id+0 会员：yw_id+1
    public static final String CLIENT_TYPE="800";
    // 单次最多选择图片数
    public static final int MAX_IMAGE_SIZE = 1;

    /**图片保存路径 */
    public static final String SAVE_PIC_PATH = FORDER_NAME+ "pic/";//保存的确切位置
    public static final String CUSTOMER_SERVE_PHONE = "4006562020";

    public static final String JPUSH_APP_KEY = "JPUSH_APPKEY";

    public static final int REMIND_ORDER_TIME=24*60*60*1000-15*60*1000;
//    public static final int REMIND_ORDER_TIME=20*1000;

    public static final int ALARM_REQUEST_CODE_REMIND_ORDER=0;

    //购卡公约
    public static final String CONVENTION="http://hmall.yk2020.com/app/convention";
    //关于我们
    public static final String ABOUT="http://hmall.yk2020.com/app/about";
    //发现文章引用url
    public static final String ARTICAL_URL ="http://hmall.yk2020.com/index.php?m=Member&c=app&a=detail&artid=" ;
}
